package org.nepu.srr.domain.operatorrisk;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.srr.domain.equipmentdata.converter.drillingdevice.EmergencyDeploymentTableConverter;
import org.nepu.srr.domain.equipmentdata.converter.drillingdevice.SafetyFacilityLayoutConverter;
import org.nepu.srr.domain.equipmentdata.vo.drillingdevice.EmergencyDeploymentTable;
import org.nepu.srr.domain.equipmentdata.vo.drillingdevice.SafetyFacilityLayout;
import org.nepu.srr.domain.operatorrisk.converter.OperatorRiskConverter;
import org.nepu.srr.domain.operatorrisk.vo.OperatorRisk;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
@ApiModel(value = "作业人员风险参数")
public class OperatorRiskParams {

    @ApiModelProperty("岗位证书")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "job_certificate")
    OperatorRisk jobCertificate;

    @ApiModelProperty("健康证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "health_certificate")
    OperatorRisk healthCertificate;

    @ApiModelProperty("海上求生、海上急救、平台消防、救生筏操控证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "safety_certificate")
    OperatorRisk safetyCertificate;

    @ApiModelProperty("直升机遇难水下逃生证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "emergency_certificate")
    OperatorRisk emergencyCertificate;

    @ApiModelProperty("安全管理人员资格证书")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "safety_management_certificate")
    OperatorRisk safetyManagementCertificate;

    @ApiModelProperty("硫化氢防护")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "sulfur_hydrogen_protection")
    OperatorRisk sulfurHydrogenProtection;

    @ApiModelProperty("井控证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "well_control_certificate")
    OperatorRisk wellControlCertificate;

    @ApiModelProperty("电工证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "electrician_certificate")
    OperatorRisk electricianCertificate;

    @ApiModelProperty("焊工证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "welder_certificate")
    OperatorRisk welderCertificate;

    @ApiModelProperty("起重证（船吊）")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "rigging_certificate")
    OperatorRisk riggingCertificate;

    @ApiModelProperty("司索证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "saw_certificate")
    OperatorRisk sawCertificate;

    @ApiModelProperty("司炉证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "solder_certificate")
    OperatorRisk solderCertificate;

    @ApiModelProperty("报务员证书")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "accountant_certificate")
    OperatorRisk accountantCertificate;

    @ApiModelProperty("餐饮行业健康证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "restaurant_health_certificate")
    OperatorRisk restaurantHealthCertificate;

    @ApiModelProperty("医师证书")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "doctor_certificate")
    OperatorRisk doctorCertificate;

    @ApiModelProperty("叉车驾驶员证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "forklift_driver_certificate")
    OperatorRisk forkliftDriverCertificate;

    @ApiModelProperty("船舶保安员培训合格证")
    @Convert(converter = OperatorRiskConverter.class)
    @Column(name = "ship_security_training_certificate")
    OperatorRisk shipSecurityTrainingCertificate;
}
